<?php
/**
 *
 * @package    gadgets
 * @author     Daniel Botelho <botelho.daniel@gmail.com>
 * @see GadgetRequest
 */
class GadgetRequestParameters
{
  const DEFAULT_CLASS = 'gadgets.io.RequestParameters';
  
  /**
   * The type of authentication to use when fetching the content; defaults to AuthorizationType.NONE. 
   * @see GadgetRequest::setAuthorization()
   */
  const AUTHORIZATION = 'gadgets.io.RequestParameters.AUTHORIZATION';
  /**
   * The type of content that lives at the URL; defaults to ContentType.TEXT.
   * @see GadgetRequest::setContentType()
   * @see GadgetContentType
   */
  const CONTENT_TYPE = 'gadgets.io.RequestParameters.CONTENT_TYPE'; 
  /**
   * If the content is a feed, whether to fetch summaries for that feed; defaults to false.
   * @see GadgetRequest::setGetSummaries()
   */ 
  const GET_SUMMARIES = 'gadgets.io.RequestParameters.GET_SUMMARIES';
  /**
   * The HTTP headers to send to the URL; defaults to null. 
   * @see GadgetRequest::setHeaders()
   */
  const HEADERS = 'gadgets.io.RequestParameters.HEADERS';
  /**
   * The method to use when fetching content from the URL; defaults to MethodType.GET.
   * @see GadgetRequest::setMethod()
   */ 
  const METHOD = 'gadgets.io.RequestParameters.METHOD';
  /**
   * If the content is a feed, the number of entries to fetch; defaults to 3. 
   * @see GadgetRequest::setNumEntries()
   */
  const NUM_ENTRIES = 'gadgets.io.RequestParameters.NUM_ENTRIES';
  /**
   * The data to send to the URL using the POST method; defaults to null.
   * @see GadgetRequest::setPostData()
   */
  const POST_DATA = 'gadgets.io.RequestParameters.POST_DATA';
  
}